<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Dotnet2-web 后台管理系统</title>
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
<%@ include file="/jsp/common/commonJs.jsp"%>
</head>
<body>
<!--header-->
<%@ include file="/jsp/top.jsp"%>
<!--header-->

<!--aside nav-->
<%@ include file="/jsp/left.jsp"%>
<!--aside nav  -->
<section class="rt_wrap content mCustomScrollbar" style="margin-top:10px;">
      <div class="page_title">
       <a class="fr top_rt_btn">右侧按钮</a>
      </div>
      <table class="table">
       <tr>
       		<th><input type="checkbox"></th>
	        <th>订单编号</th>
	        <th>用户名称</th>
	        <!-- <th>用户电话</th>
	        <th>用户地址</th>
	        <th>用户单位</th> -->
	        <th>用户账号</th>
	        <th>订单状态</th>
	        <th>订单创建时间</th>
	        <th>订单生效时间</th>
	        <th>是否删除</th>
	        <th>操作</th>
       </tr>
       	<c:forEach items="${page.list}" var="order" varStatus="index">
      		<tr align="center">
		        <td>${index.index+1} <input type="checkbox" value="${order.id}"></td>
		        <td>${order.orderNo}</td>
		        <td>${order.userName}</td>
		        <%-- <td>${order.userPhone}</td>
		        <td>${order.userAddress}</td>
		        <td>${order.userUnit}</td> --%>
		        <td>${order.userAccount}</td>
		        <td>${order.orderStatus==0?"<font color=orange>待审核</font>":order.orderStatus==1?"<font color=#FF5511 >待付款</font>":order.orderStatus==2?"<font color=green>已付款</font>":order.orderStatus==3?"<font color=blue>已生效</font>":"<font color=red>已取消</font>"}</td>
		        <td><fmt:formatDate value="${order.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		        <td><fmt:formatDate value="${order.effectiveTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		        <td>${order.isDelete==0?"否":"<font color=red>是</font>"}</td>
		        <td>
		        	<a href="${path}/order/detaliList.do?orderNo=${order.orderNo}">历史详情</a>
		        	<a href="${path}/order/detaliListCustomer.do?orderNo=${order.orderNo}">最新详情</a>
		        	<a href="${path}/order/orderPass.do?orderNo=${order.orderNo}">审核</a>
		        	<a href="#">删除</a>
		        </td>
		    </tr>
      	</c:forEach>
      </table>
	 <aside class="paging">
		  <c:forEach items="${page.pageView}" var="page">
		  		${page}
		  </c:forEach>
	 </aside> 
</section>

</body>
</html>
